<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<body>
<div id="alischool" th:fragment="add">
    <!--下面是通用的部分-->
    <hr/>
    <h4 class="modal-title" id="alischools">支付宝中小学一脸通</h4>
    <input type="hidden" id="alischoolIsCallback">
    <input type="hidden" id="alischoolTypes">
    <input type="hidden" id="alischoolPayType">
    <div class="form-group">
        <label class="control-label" for="alischoolType"><span class="asterisk">*</span>支付类型:</label>
        <select id="alischoolType" multiple class="form-control select2">
            <option th:each="alischoolType : ${paytypes}" th:value="${alischoolType}"
                    th:text="${alischoolType.payTypeName}">
                支付渠道
            </option>
        </select>
        <div class="help-block with-errors"></div>

    </div>

    <div class="form-group">
        <label class="control-label" for="alischoolxcxAppId"><span class="asterisk">*</span>小程序appid:</label>
        <input id="alischoolxcxAppId" type="text" class="form-control" placeholder="小程序appid">
        <div class="help-block with-errors"></div>
    </div>

    <div class="form-group">
        <label class="control-label" for="alischoolxcxPrivateKey"><span class="asterisk">*</span>小程序私钥:</label>
        <textarea id="alischoolxcxPrivateKey" class="form-control" cols="50" rows="3" placeholder="小程序私钥"></textarea>
        <div class="help-block with-errors"></div>
    </div>

    <div class="form-group">
        <label class="control-label" for="alischoolxcxAlipayPublicKey"><span class="asterisk">*</span>小程序支付宝公钥:</label>
        <textarea id="alischoolxcxAlipayPublicKey" class="form-control" cols="50" rows="3"
                  placeholder="小程序支付宝公钥"></textarea>
        <div class="help-block with-errors"></div>
    </div>

    <div class="form-group">
        <label class="control-label" for="alischoolxcxAes">小程序用户信息解析aes密钥:</label>
        <input id="alischoolxcxAes" type="text" class="form-control" placeholder="">
        <div class="help-block with-errors"></div>
    </div>


    <div class="form-group">
        <label class="control-label" for="alischoolcertType"><span class="asterisk">*</span>身份类型(建议填1):</label>
        <input id="alischoolcertType" type="text" class="form-control" placeholder="证件类型。{1:居民身份证；A:护照；X:学工号}">
        <div class="help-block with-errors"></div>
    </div>

    <div class="form-group">
        <label class="control-label" for="alischoolschoolStdCode"><span class="asterisk">*</span>学校内标:</label>
        <input id="alischoolschoolStdCode" type="text" class="form-control"
               placeholder="https://p.alipay.com/page/edu/home">
        <div class="help-block with-errors"></div>
    </div>

    <div class="form-group">
        <label class="control-label" for="alischoolschoolStdOutCode"><span class="asterisk">*</span>学校外标:</label>
        <input id="alischoolschoolStdOutCode" type="text" class="form-control"
               placeholder="https://p.alipay.com/page/edu/home">
        <div class="help-block with-errors"></div>
    </div>


    <div class="form-group">
        <label class="control-label" for="alischoolscene"><span class="asterisk">*</span>场景选择(建议填K12):</label>
        <input id="alischoolscene" type="text" class="form-control" placeholder="https://opendocs.alipay.com/pre-apis/00u54n K12 -- K12场景
COLLEGE -- 高校场景">
        <div class="help-block with-errors"></div>
    </div>

    <div class="form-group">
        <label class="control-label" for="alischooldk"><span class="asterisk">*</span>代扣选择(建议填1):</label>
        <input id="alischooldk" type="text" class="form-control"
               placeholder="https://opendocs.alipay.com/pre-apis/00u54n ext_info  1 支付宝 2指定银行 3指定银行卡">
        <div class="help-block with-errors"></div>
    </div>

    <div class="form-group">
        <label class="control-label" for="alischoolsignCallbackUrl">签约解约回调地址:</label>
        <input id="alischoolsignCallbackUrl" type="text" class="form-control" placeholder="">
        <div class="help-block with-errors"></div>
    </div>

    <div class="form-group">
        <label class="control-label" for="alischoolappId"><span class="asterisk">*</span>三方应用appid:</label>
        <input id="alischoolappId" type="text" class="form-control" placeholder="">
        <div class="help-block with-errors"></div>
    </div>


    <div class="form-group">
        <label class="control-label" for="alischoolprivateKey"><span class="asterisk">*</span>三方应用私钥:</label>
        <textarea id="alischoolprivateKey" class="form-control" cols="50" rows="3" placeholder="三方应用私钥"></textarea>
        <div class="help-block with-errors"></div>
    </div>

    <div class="form-group">
        <label class="control-label" for="alischoolalipayPublicKey"><span class="asterisk">*</span>三方应用支付宝公钥:</label>
        <textarea id="alischoolalipayPublicKey" class="form-control" cols="50" rows="3"
                  placeholder="三方应用支付宝公钥"></textarea>
        <div class="help-block with-errors"></div>
    </div>

    <div class="form-group">
        <label class="control-label" for="alischoolisvPid"><span class="asterisk">*</span>服务商pid:</label>
        <input id="alischoolisvPid" type="text" class="form-control" placeholder="">
        <div class="help-block with-errors"></div>
    </div>
    <div class="form-group">
        <label class="control-label" for="alischoolisvName"><span class="asterisk">*</span>服务商名称:</label>
        <input id="alischoolisvName" type="text" class="form-control" placeholder="">
        <div class="help-block with-errors"></div>
    </div>

    <div class="form-group">
        <label class="control-label" for="alischoolmerchantId"><span class="asterisk">*</span>商户pid:</label>
        <input id="alischoolmerchantId" type="text" class="form-control" placeholder="">
        <div class="help-block with-errors"></div>
    </div>
    <div class="form-group">
        <label class="control-label" for="alischoolmerchantName"><span class="asterisk">*</span>商户名称:</label>
        <input id="alischoolmerchantName" type="text" class="form-control" placeholder="">
        <div class="help-block with-errors"></div>
    </div>
    <div class="form-group">
        <label class="control-label" for="alischoolmerchantPayPid"><span class="asterisk">*</span>支付商户pid:</label>
        <input id="alischoolmerchantPayPid" type="text" class="form-control" placeholder="">
        <div class="help-block with-errors"></div>
    </div>

    <div class="form-group">
        <label class="control-label" for="alischooldzCallbackUrl">垫资成功通知地址:</label>
        <input id="alischooldzCallbackUrl" type="text" class="form-control" placeholder="">
        <div class="help-block with-errors"></div>
    </div>


</div>


<div id="editalischool" th:fragment="edit">
    <!--下面是通用的部分-->
    <hr/>
    <h4 class="modal-title" id="editalischools">支付宝中小学一脸通</h4>
    <input type="hidden" id="editalischoolIsCallback">
    <input type="hidden" id="editalischoolTypes">
    <input type="hidden" id="editalischoolPayType">
    <div class="form-group">
        <label class="control-label" for="editalischoolType"><span class="asterisk">*</span>支付类型:</label>
        <select id="editalischoolType" name="editalischoolType" multiple class="form-control select2">
            <option th:each="editalischoolType : ${paytypes}" th:value="${editalischoolType.payType}"
                    th:text="${editalischoolType.payTypeName}">
                支付渠道
            </option>
        </select>
        <div class="help-block with-errors"></div>
    </div>
    <div class="form-group">
        <label class="control-label" for="editalischoolxcxAppId"><span class="asterisk">*</span>小程序appid:</label>
        <input id="editalischoolxcxAppId" type="text" class="form-control" placeholder="小程序appid">
        <div class="help-block with-errors"></div>
    </div>

    <div class="form-group">
        <label class="control-label" for="editalischoolxcxPrivateKey"><span class="asterisk">*</span>小程序私钥:</label>
        <textarea id="editalischoolxcxPrivateKey" class="form-control" cols="50" rows="3"
                  placeholder="小程序私钥"></textarea>
        <div class="help-block with-errors"></div>
    </div>

    <div class="form-group">
        <label class="control-label" for="editalischoolxcxAlipayPublicKey"><span
                class="asterisk">*</span>小程序支付宝公钥:</label>
        <textarea id="editalischoolxcxAlipayPublicKey" class="form-control" cols="50" rows="3"
                  placeholder="小程序支付宝公钥"></textarea>
        <div class="help-block with-errors"></div>
    </div>

    <div class="form-group">
        <label class="control-label" for="editalischoolxcxAes">小程序用户信息解析aes密钥:</label>
        <input id="editalischoolxcxAes" type="text" class="form-control" placeholder="">
        <div class="help-block with-errors"></div>
    </div>


    <div class="form-group">
        <label class="control-label" for="editalischoolcertType"><span class="asterisk">*</span>身份类型(建议填1):</label>
        <input id="editalischoolcertType" type="text" class="form-control" placeholder="证件类型。{1:居民身份证；A:护照；X:学工号}">
        <div class="help-block with-errors"></div>
    </div>

    <div class="form-group">
        <label class="control-label" for="editalischoolschoolStdCode"><span class="asterisk">*</span>学校内标:</label>
        <input id="editalischoolschoolStdCode" type="text" class="form-control"
               placeholder="https://p.alipay.com/page/edu/home">
        <div class="help-block with-errors"></div>
    </div>

    <div class="form-group">
        <label class="control-label" for="editalischoolschoolStdOutCode"><span class="asterisk">*</span>学校外标:</label>
        <input id="editalischoolschoolStdOutCode" type="text" class="form-control"
               placeholder="https://p.alipay.com/page/edu/home">
        <div class="help-block with-errors"></div>
    </div>


    <div class="form-group">
        <label class="control-label" for="editalischoolscene"><span class="asterisk">*</span>场景选择(建议填K12):</label>
        <input id="editalischoolscene" type="text" class="form-control" placeholder="https://opendocs.alipay.com/pre-apis/00u54n K12 -- K12场景
COLLEGE -- 高校场景">
        <div class="help-block with-errors"></div>
    </div>

    <div class="form-group">
        <label class="control-label" for="editalischooldk"><span class="asterisk">*</span>代扣选择(建议填1):</label>
        <input id="editalischooldk" type="text" class="form-control"
               placeholder="https://opendocs.alipay.com/pre-apis/00u54n ext_info  1 支付宝 2指定银行 3指定银行卡">
        <div class="help-block with-errors"></div>
    </div>

    <div class="form-group">
        <label class="control-label" for="editalischoolsignCallbackUrl">签约解约回调地址:</label>
        <input id="editalischoolsignCallbackUrl" type="text" class="form-control" placeholder="">
        <div class="help-block with-errors"></div>
    </div>

    <div class="form-group">
        <label class="control-label" for="editalischoolappId"><span class="asterisk">*</span>三方应用appid:</label>
        <input id="editalischoolappId" type="text" class="form-control" placeholder="">
        <div class="help-block with-errors"></div>
    </div>


    <div class="form-group">
        <label class="control-label" for="editalischoolprivateKey"><span class="asterisk">*</span>三方应用私钥:</label>
        <textarea id="editalischoolprivateKey" class="form-control" cols="50" rows="3" placeholder="三方应用私钥"></textarea>
        <div class="help-block with-errors"></div>
    </div>

    <div class="form-group">
        <label class="control-label" for="editalischoolalipayPublicKey"><span
                class="asterisk">*</span>三方应用支付宝公钥:</label>
        <textarea id="editalischoolalipayPublicKey" class="form-control" cols="50" rows="3"
                  placeholder="三方应用支付宝公钥"></textarea>
        <div class="help-block with-errors"></div>
    </div>

    <div class="form-group">
        <label class="control-label" for="editalischoolisvPid"><span class="asterisk">*</span>服务商pid:</label>
        <input id="editalischoolisvPid" type="text" class="form-control" placeholder="">
        <div class="help-block with-errors"></div>
    </div>
    <div class="form-group">
        <label class="control-label" for="editalischoolisvName"><span class="asterisk">*</span>服务商名称:</label>
        <input id="editalischoolisvName" type="text" class="form-control" placeholder="">
        <div class="help-block with-errors"></div>
    </div>

    <div class="form-group">
        <label class="control-label" for="editalischoolmerchantId"><span class="asterisk">*</span>商户pid:</label>
        <input id="editalischoolmerchantId" type="text" class="form-control" placeholder="">
        <div class="help-block with-errors"></div>
    </div>
    <div class="form-group">
        <label class="control-label" for="editalischoolmerchantName"><span class="asterisk">*</span>商户名称:</label>
        <input id="editalischoolmerchantName" type="text" class="form-control" placeholder="">
        <div class="help-block with-errors"></div>
    </div>
    <div class="form-group">
        <label class="control-label" for="editalischoolmerchantPayPid"><span class="asterisk">*</span>支付商户pid:</label>
        <input id="editalischoolmerchantPayPid" type="text" class="form-control" placeholder="">
        <div class="help-block with-errors"></div>
    </div>

    <div class="form-group">
        <label class="control-label" for="editalischooldzCallbackUrl">垫资成功通知地址:</label>
        <input id="editalischooldzCallbackUrl" type="text" class="form-control" placeholder="">
        <div class="help-block with-errors"></div>
    </div>
</div>

</body>
</html>
